package cn.qihang.ssm.service.impl;

import cn.qihang.ssm.mapper.MemberMapper;
import cn.qihang.ssm.pojo.Member;
import cn.qihang.ssm.service.MemberService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: qihang
 * @Date: 2022/11/2 17:46
 * @Desc:
 */
@Service
public class MemberServiceImpl implements MemberService {

    @Autowired
    private MemberMapper memberMapper;

    /**
     * 新增订单- 查询出 moember会员
     * @return
     */
    @Override
    public List<Member> findAll() {
        return this.memberMapper.findAll();
    }
}
